public class Bird extends Animal{

    public Bird(String name, String color, int age) {
        this.name = name;
        this.color = color;
        this.age = age;
    }

    public void fly(){
        System.out.println(name + "正在飞");
    }
}